/*
 * @Descripttion: HN-SaaS管理系统
 * @version: 1.0.0
 * @Author: 侯建军
 * @Date: 2020-09-09 10:59:22
 * @LastEditors: 侯建军
 * @LastEditTime: 2020-09-09 11:15:17
 */
import request from '@/utils/request'

/**
 * 添加患者
 * @param {*} role 
 */
export function insert(patient){
    return  request({ url: "/patient", method: "post", data: patient });
}

/**
 * 获取分页数据
 * @param { } patientParam 
 */
export function getPatients(patientParam) {
    return request({ url: "/patient", method: "get", params: patientParam });
}